home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / VBASIC / LEDVB25.ZIP / VC.ZIP / VCVIEW.H < prev   
Encoding:
C/C++ Source or Header  |  1996-01-13  |  1.1 KB  |  51 lines

  1. // vcview.h : interface of the CVcView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CVcView : public CFormView
  6. {
  7. protected: // create from serialization only
  8.     CVcView();
  9.     DECLARE_DYNCREATE(CVcView)
  10.  
  11. public:
  12.     //{{AFX_DATA(CVcView)
  13.     enum { IDD = IDD_VC_FORM };
  14.     CEdit    m_edit;
  15.     CVBControl*    m_led3;
  16.     //}}AFX_DATA
  17.  
  18. // Attributes
  19. public:
  20.     CVcDoc* GetDocument();
  21.  
  22. // Operations
  23. public:
  24.  
  25. // Implementation
  26. public:
  27.     virtual ~CVcView();
  28. #ifdef _DEBUG
  29.     virtual void AssertValid() const;
  30.     virtual void Dump(CDumpContext& dc) const;
  31. #endif
  32.  
  33. protected:
  34.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  35.  
  36. // Generated message map functions
  37. protected:
  38.     //{{AFX_MSG(CVcView)
  39.     afx_msg void OnClickLed3(UINT, int, CWnd*, LPVOID);
  40.     afx_msg void OnChangeEdit1();
  41.     //}}AFX_MSG
  42.     DECLARE_MESSAGE_MAP()
  43. };
  44.  
  45. #ifndef _DEBUG  // debug version in vcview.cpp
  46. inline CVcDoc* CVcView::GetDocument()
  47.    { return (CVcDoc*)m_pDocument; }
  48. #endif
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51.